package com.acegear.horizon.domain.repository.jpa;

import com.acegear.horizon.domain.models.jpa.ClubEventItemGroup;

import org.springframework.data.repository.CrudRepository;

import java.util.Optional;

/**
 * Created by wangsike on 2017/1/4.
 */
public interface ClubEventItemGroupRepository extends CrudRepository<ClubEventItemGroup, Long> {
    Optional<ClubEventItemGroup> findByGroupIdAndStageId(Long groupId, Long stageId);
}
